﻿<form class="cmxform" action="@Url.Action("Create", "Task")" id="taskForm" method="post" action="">
<div class="row span14">
    <div class="row">
        <div class="span2">
            <label for="task_Name">任务名称：</label>
        </div>
        <div class="span12">
            <input id="task_Name" name="Name" class="span12" type="text" required />
        </div>
    </div>

    <div class="row">
        <div class="span2">
        	<label for="task_ProductName">产品：</label>
        </div>
        <div class="span5">
		    <input id="task_ProductName" name="ProductName" class="span5" type="text" required />
        </div>
        
        <div class="span2">
		    <label for="task_ShopName">工房：</label>
        </div>
        <div class="span5">
            <select id="task_ShopName" name="ShopName" class="span5" required>
                <option />
                @foreach (var item in Model.ShopFloors)
                {
                <option value="@item.ShopName">@item.ShopName</option>
                }
            </select>
        </div>
    </div>

    <div class="row">
    	<div class="span2">
		    <label for="task_StartTime">起始时间：</label>
        </div>
        <div class="span5 input-append">
		    <input id="task_StartTime" name="StartTime" class="span4" type="text" required />
            <span class="add-on"><i class="icon-calendar"></i></span>
        </div>

        <div class="span2">
        	<label for="task_EndTime">截止时间：</label>
        </div>
        <div class="span5 input-append">
		    <input id="task_EndTime" name="EndTime" class="span4" type="text" required />
            <span class="add-on"><i class="icon-calendar"></i></span>
        </div>
    </div>

    <div class="row">
        <div class="span2">
		    <label for="task_Batch">批次：</label>
        </div>
        <div class="span5">
		    <input id="task_Batch" name="Batch" class="span5" type="text" required/>
        </div>
        <div class="span2">
		    <label for="task_InPopulating">在制量：</label>
        </div>
        <div class="span5">
		    <input id="task_InPopulating" name="InPopulating" class="span5" type="number" required/>
        </div>
    </div>

    <div class="row">
        <div class="span2">
		    <label for="task_Department">部门：</label>
        </div>
        <div class="span5">
		    <input id="task_Department" name="Department" class="span5" type="text" />
        </div>
        <div class="span2">
		    <label for="task_Team">班组：</label>
        </div>
        <div class="span5">
		    <input id="task_Team" name="Team" class="span5" type="text" />
        </div>
    </div>

    <div class="row">
        <div class="span4">
		    <label for="task_TeamLeader">带班长：</label>
        </div>
        <div class="span3">
		    <input id="task_TeamLeader" name="TeamLeader" class="span3" type="text" />
        </div>
    	<div class="span4">
		    <label for="task_TeamSafety">班组安全负责人：</label>
        </div>
        <div class="span3">
		    <input id="task_TeamSafety" name="TeamSafety" class="span3" type="text" />
        </div>
    </div>

    <div class="row">
    	<div class="span4">
		    <label for="task_DangerousProducts">主要危险品：</label>
        </div>
        <div class="span3">
		    <input id="task_DangerousProducts" name="DangerousProducts" class="span3" type="text" />
        </div>
    	<div class="span4">
		    <label for="task_DangerousProcedure">危险工序：</label>
        </div>
        <div class="span3">
		    <input id="task_DangerousProcedure" name="DangerousProcedure" class="span3" type="text" />
        </div>
    </div>


    <div class="row">
        <div class="span4">
		    <label for="task_DepartmentSafety">部门安全责任人：</label>
        </div>
        <div class="span3">
		    <input id="task_DepartmentSafety" name="DepartmentSafety" class="span3" type="text" />
        </div>

        <div class="span4">
		    <label for="task_TeamTel">班组联系电话：</label>
        </div>
        <div class="span3">
		    <input id="task_TeamTel" name="TeamTel" class="span3" type="text" />
        </div>
    </div>

    <div class="row">
        <div class="span2">
            <label for="task_Remark">备注：</label>
        </div>
        <div class="span12">
            <textarea id="task_Remark" name="Remark" class="span12"></textarea>
        </div>
    </div>
    <div class="server_error"></div>
</div>
</form>
